package com.hwz.gulimall.product.feign;

import com.hwz.common.exception.BizCodeEnume;
import com.hwz.common.to.SkuReductionTo;
import com.hwz.common.to.SpuBoundsTo;
import com.hwz.common.to.es.SkuEsModel;
import com.hwz.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.io.IOException;
import java.util.List;

/**
 * @Author: hwz
 * @CreateTime: 2025-06-11
 */


@FeignClient("gulimall-search")
public interface SearchFeignService {
    @PostMapping("/search/save/product")
     R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);


}
